@layout("/common/_curd/_container.html"){

	<form data-url="${basePath}/${code}/update" method="post" class="form-horizontal" role="form">
		<!-- 表单 -->
		@ var _table="attribute_info";
		@ var _key="id";
		@ var _col=[
		@			  {name:"编号", index:"serial", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"电站编号", index:"number", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"所属类型", index:"tId", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"名称", index:"name", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"别名", index:"byName", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"类型 0遥信 1遥测", index:"state", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"识别号", index:"ptIndex", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"单位", index:"unit", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"上线预警", index:"upperWarn", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"下线预警", index:"lowerWarn", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"上线报警 ", index:"upperAlarm", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"下线报警", index:"lowerAlarm", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"遥信初始值 0开 1关", index:"defaultValue", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"创建时间", index:"createAt", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"创建人", index:"createAc", type:"text",newline:true,length:8,required:"required"}		
		@		   ];
		@ include("/common/_curd/_edit.html", {"col":_col, "table":_table, "key":_key}){}
		
		<!-- 按钮 -->
		@ include("/common/_curd/_btn.html", {btn_save:"修改", btn_close:"关闭"}) {}
	</form>

@}